﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BGCMS.Models.Child>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Skrá barn
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <div id="leftside">
    <h2>Barnið mitt</h2>
        <ul>
            <li><%: Html.ActionLink("Skrá barn", "CreateChild", "Child") %></li>
        </ul>
    </div>

    <div id="content">
        <h2>Skrá barn</h2>
        <% Html.RenderPartial("ChildForm"); %>
    </div>
</asp:Content>
